package com.zmn.oms.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * 类描述：队列TOPIC定义
 *
 * @author heciqi
 * @date 2020/2/18 15:53
 */
@Component
@Order(-1)
public class MessageQueueTopicConstant {

	/**
	 * 订单模块
	 */
	public static String ZMN_TOPIC_OMS;

	/**
	 * 支付模块
	 */
	public static String ZMN_TOPIC_PAY;

	/**
	 * 财务模块
	 */
	public static String ZMN_TOPIC_FICO;

	/**
	 * 延迟队列
	 */
	public static String ZMN_TOPIC_DELAY;

	/**
	 * ERP模块
	 */
	public static String ZMN_TOPIC_ERP;


	public static String ZMN_TOPIC_INVOICE;

	/**
	 * 绩效模块
	 */
	public static String ZMN_TOPIC_PERF;
	
	/**
	 * SCM2模块
	 */
	public static String ZMN_TOPIC_SCM2;

	/**
	 * PUSH模块
	 */
	public static String ZMN_TOPIC_PUSH;

	/**
	 * GMS模块
	 */
	public static String ZMN_TOPIC_GMS;

	/**
	 * MOS模块
	 */
	public static String ZMN_TOPIC_MOS;

	/**
	 * 监控系统模块
	 */
	public static String ZMN_TOPIC_BRS;

	/**
	 * UMS模块
	 */
	public static String ZMN_TOPIC_UMS;

	/**
	 * SAAS模块
	 */
	public static String ZMN_TOPIC_SAAS;

	/**
	 * REMIND模块
	 */
	public static String ZMN_TOPIC_REMIND;

	/**
	 * 线索系统
	 */
	public static String ZMN_TOPIC_BIZ_CLUE;

	@Value("${spring.mq.topic.oms:''}")
	public void setZmnTopicOms(String topicOms) {
		ZMN_TOPIC_OMS = topicOms;
	}

	@Value("${spring.mq.topic.delay:''}")
	public void setZmnTopicDelay(String topicDelay) {
		ZMN_TOPIC_DELAY = topicDelay;
	}

	@Value("${spring.mq.topic.pay:''}")
	public void setZmnTopicPay(String topicPay) {
		ZMN_TOPIC_PAY = topicPay;
	}

	@Value("${spring.mq.topic.fico:''}")
	public void setZmnTopicFico(String topicFico) {
		ZMN_TOPIC_FICO = topicFico;
	}

	@Value("${spring.mq.topic.erp:''}")
	public void setZmnTopicErp(String topicErp) {
		ZMN_TOPIC_ERP = topicErp;
	}

	@Value("${spring.mq.topic.invoice:'zmn_base_invoice'}")
	public void setZmnTopicInvoice(String topicInvoice) {
		ZMN_TOPIC_INVOICE = topicInvoice;
	}

	@Value("${spring.mq.topic.performance:''}")
	public void setZmnTopicPerformance(String topicPerformance) {
		ZMN_TOPIC_PERF = topicPerformance;
	}

	@Value("${spring.mq.topic.scm2:''}")
	public void setZmnTopicScm2(String topicScm2) {
		ZMN_TOPIC_SCM2 = topicScm2;
	}

	@Value("${spring.mq.topic.push:''}")
	public void setZmnTopicPush(String topicPush) {
		ZMN_TOPIC_PUSH = topicPush;
	}

	@Value("${spring.mq.topic.gms:''}")
	public void setZmnTopicGms(String topicGms){
		ZMN_TOPIC_GMS = topicGms;
	}

	@Value("${spring.mq.topic.mos:''}")
	public void setZmnTopicMos(String topicMos){
		ZMN_TOPIC_MOS = topicMos;
	}

	@Value("${spring.mq.topic.brs:''}")
	public void setZmnTopicBrs(String topicBrs){
		ZMN_TOPIC_BRS = topicBrs;
	}

	@Value("${spring.mq.topic.ums:''}")
	public void setZmnTopicUms(String topicUms){
		ZMN_TOPIC_UMS = topicUms;
	}

	@Value("${spring.mq.topic.saas:''}")
	public void setZmnTopicSaas(String topiSaas){
		ZMN_TOPIC_SAAS = topiSaas;
	}

	@Value("${spring.mq.topic.remind:''}")
	public void setZmnTopicRemind(String topicRemind) {
		ZMN_TOPIC_REMIND = topicRemind;
	}

	@Value("${spring.mq.topic.biz.clue:''}")
	public void setZmnTopicBizClue(String topicBizClue) {
		ZMN_TOPIC_BIZ_CLUE = topicBizClue;
	}

}
